<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page-2</title>
</head>
<body>
	<%!
		public String dollar;
	%>
	<% 	
		dollar = request.getParameter("dollar");
		//request.getParameter("rate");
	%>
	<form action="page-3.jsp">
		汇率：<input type="text" name="rate">
		<input type="text" name="dollar" value="<%= dollar %>" style="display: none">
		<button type="submit">提交</button>
	</form>

</body>
</html>